-- GENERATED SPELL FOR [Wrathscale Marauder] --


function spell0_17334(pUnit, Event) --@Pummel,n/a--
pUnit:FullCastSpellOnTarget(12555,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17334', 5309, 1)
end

function Sorts_17334(pUnit, Event)
local choix_sorts_17334 = math.random(0, 0)
if choix_sorts_17334 == 0 then
pUnit:RegisterEvent('spell0_17334', 1, 1)
end
end

function mob17334_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17334', math.random(1500, 3000), 1)
end

function mob17334_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17334_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17334_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17334, 1, 'mob17334_Action')
RegisterUnitEvent(17334, 2, 'mob17334_Leave')
RegisterUnitEvent(17334, 3, 'mob17334_Kill')
RegisterUnitEvent(17334, 4, 'mob17334_Die')
